package com.myfb.antstorm.service.ribbon.controller;

import com.myfb.antstorm.service.ribbon.service.IHelloService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by Administrator on 2018/4/26.
 */
@RestController
public class HelloControler {

    @Autowired
    IHelloService helloService;
    @RequestMapping(value = "/hello")
    public String hello(){
        return helloService.hello();
    }
}
